﻿<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
  <title>CGU API 9.0102 - Functions</title>
  <link rel="stylesheet" type="text/css" href="reset.css" />
  <link rel="stylesheet" type="text/css" href="main.css" />
</head>

<body>

<div id="head">
  <div id="title">
    <h1>CGU</h1>&nbsp;&nbsp;<h2>Common &amp; General Use JavaScript</h2>
  </div>
</div>

<div id="foot">
  <div id="copy">
    <span>&copy; 2008 CGU</span>
  </div>
</div>

<div id="body">
  <div id="nav">
    <div class="pad">
      
      <div class="navlist">
        <h3>CGU</h3>
        <ul>
          <li><a href="index.html">API Home</a></li>
          <li class="active"><a href="functions.html">Functions</a></li>
        </ul>
      </div>

      <div class="navlist">
        <h3>Utilities</h3>
        <ul>
          <li><a href="utilities.Cookie.html">Cookie</a></li>
          <li><a href="utilities.Crypto.html">Crypto</a></li>
          <li><a href="utilities.Iterator.html">Iterator</a></li>
          <li><a href="utilities.JSON.html">JSON</a></li>
          <li><a href="utilities.Query.html">Query</a></li>
          <li><a href="utilities.Time.html">Time</a></li>
          <li><a href="utilities.Type.html">Type</a></li>
        </ul>
      </div>

      <div class="navlist">
        <h3>Functions</h3>
        <ul>
          <li><a href="functions.asArray.html">asArray</a></li>
          <li><a href="functions.clone.html">clone</a></li>
          <li><a href="functions.cookie.html">cookie</a></li>
          <li><a href="functions.evalJSON.html">evalJSON</a></li>
          <li><a href="functions.fromJSON.html">fromJSON</a></li>
          <li><a href="functions.fromTime.html">fromTime</a></li>
          <li><a href="functions.hash.html">hash</a></li>
          <li><a href="functions.hashes.html">hashes</a></li>
          <li><a href="functions.isElement.html">isElement</a></li>
          <li><a href="functions.isNil.html">isNil</a></li>
          <li><a href="functions.is_a.html">is_a</a></li>
          <li><a href="functions.isof.html">isof</a></li>
          <li><a href="functions.iterate.html">iterate</a></li>
          <li><a href="functions.keys.html">keys</a></li>
          <li><a href="functions.limit.html">limit</a></li>
          <li><a href="functions.local.html">local</a></li>
          <li><a href="functions.location.html">location</a></li>
          <li><a href="functions.map.html">map</a></li>
          <li><a href="functions.param.html">param</a></li>
          <li><a href="functions.phpdate.html">phpdate</a></li>
          <li><a href="functions.phputc.html">phputc</a></li>
          <li><a href="functions.query.html">query</a></li>
          <li><a href="functions.serialize.html">serialize</a></li>
          <li><a href="functions.strftime.html">strftime</a></li>
          <li><a href="functions.strfutc.html">strfutc</a></li>
          <li><a href="functions.toJSON.html">toJSON</a></li>
          <li><a href="functions.toTime.html">toTime</a></li>
          <li><a href="functions.type.html">type</a></li>
          <li><a href="functions.types.html">types</a></li>
          <li><a href="functions.utc.html">utc</a></li>
        </ul>
      </div>
      
    </div>
  </div>
  
  <div id="docs">
    <div class="pad">
      <div id="content">

<h1 id='CGU-Main'>Functions</h1>

<blockquote>
<p>Complete function list</p>
</blockquote>
<hr />
<h4 id='func-asArray'><a href='functions.asArray.html'>asArray</a></h4>

<blockquote>
<p>Convert Array-like Objects to Array.</p>
</blockquote>

<h4 id='func-clone'><a href='functions.clone.html'>clone</a></h4>

<blockquote>
<p>Clone an object.</p>
</blockquote>

<h4 id='func-cookie'><a href='functions.cookie.html'>cookie</a></h4>

<blockquote>
<p>Read, write, or expire a cookie.</p>
</blockquote>

<h4 id='func-evalJSON'><a href='functions.evalJSON.html'>evalJSON</a></h4>

<blockquote>
<p>A <strong><em>non-secure</em></strong> JSON interpreter.</p>
</blockquote>

<h4 id='func-fromJSON'><a href='functions.fromJSON.html'>fromJSON</a></h4>

<blockquote>
<p>A <strong><em>more-secure</em></strong> JSON interpreter.</p>
</blockquote>

<h4 id='func-fromTime'><a href='functions.fromTime.html'>fromTime</a></h4>

<blockquote>
<p>Convert a Date Object to a <code>&quot;YYYY-MM-DDThh:mm:ss.sssZ&quot;</code> formatted string.</p>
</blockquote>

<h4 id='func-hash'><a href='functions.hash.html'>hash</a></h4>

<blockquote>
<p>Generate a cryptographic hash of given data.</p>
</blockquote>

<h4 id='func-hashes'><a href='functions.hashes.html'>hashes</a></h4>

<blockquote>
<p>Get a list of all available algorithms.</p>
</blockquote>

<h4 id='func-isElement'><a href='functions.isElement.html'>isElement</a></h4>

<blockquote>
<p>Determine if an object is a DOM Element.</p>
</blockquote>

<h4 id='func-isNil'><a href='functions.isNil.html'>isNil</a></h4>

<blockquote>
<p>Compare an object to <code>null</code> or <code>undefined</code>.</p>
</blockquote>

<h4 id='func-is-a'><a href='functions.is_a.html'>is_a</a></h4>

<blockquote>
<p>Enhanced <code>instanceof</code>.</p>
</blockquote>

<h4 id='func-isof'><a href='functions.isof.html'>isof</a></h4>

<blockquote>
<p>Multiple <code>is_a</code> comparing.</p>
</blockquote>

<h4 id='func-iterate'><a href='functions.iterate.html'>iterate</a></h4>

<blockquote>
<p>Iterate through each Object property or Array index.</p>
</blockquote>

<h4 id='func-keys'><a href='functions.keys.html'>keys</a></h4>

<blockquote>
<p>Gather a list of an Object&#8217;s properties.</p>
</blockquote>

<h4 id='func-limit'><a href='functions.limit.html'>limit</a></h4>

<blockquote>
<p>Limit an object to specific types.</p>
</blockquote>

<h4 id='func-local'><a href='functions.local.html'>local</a></h4>

<blockquote>
<p>Absolute local time.</p>
</blockquote>

<h4 id='func-location'><a href='functions.location.html'>location</a></h4>

<blockquote>
<p>Create a <code>location</code> clone from a URI.</p>
</blockquote>

<h4 id='func-map'><a href='functions.map.html'>map</a></h4>

<blockquote>
<p>Iterate and replace the value of each Object property or Array index.</p>
</blockquote>

<h4 id='func-param'><a href='functions.param.html'>param</a></h4>

<blockquote>
<p>Create a query-string from an object&#8217;s keys.</p>
</blockquote>

<h4 id='func-phpdate'><a href='functions.phpdate.html'>phpdate</a></h4>

<blockquote>
<p>PHP <code>date()</code> formatting in local time.</p>
</blockquote>

<h4 id='func-phputc'><a href='functions.phputc.html'>phputc</a></h4>

<blockquote>
<p>PHP <code>date()</code> formatting in UTC time.</p>
</blockquote>

<h4 id='func-query'><a href='functions.query.html'>query</a></h4>

<blockquote>
<p>Search a query-string for all values of a key.</p>
</blockquote>

<h4 id='func-serialize'><a href='functions.serialize.html'>serialize</a></h4>

<blockquote>
<p>Parameterize a Form&#8217;s elements.</p>
</blockquote>

<h4 id='func-strftime'><a href='functions.strftime.html'>strftime</a></h4>

<blockquote>
<p>C/C++ date formatting in local time.</p>
</blockquote>

<h4 id='func-strfutc'><a href='functions.strfutc.html'>strfutc</a></h4>

<blockquote>
<p>C/C++ date formatting in UTC time.</p>
</blockquote>

<h4 id='func-toJSON'><a href='functions.toJSON.html'>toJSON</a></h4>

<blockquote>
<p>Create a JSON-formatted string from an object.</p>
</blockquote>

<h4 id='func-toTime'><a href='functions.toTime.html'>toTime</a></h4>

<blockquote>
<p>Convert a <code>&quot;YYYY-MM-DDThh:mm:ss.sssZ&quot;</code> formatted string to a Date Object.</p>
</blockquote>

<h4 id='func-type'><a href='functions.type.html'>type</a></h4>

<blockquote>
<p>Enhanced <code>typeof</code>.</p>
</blockquote>

<h4 id='func-types'><a href='functions.types.html'>types</a></h4>

<blockquote>
<p>Get a list of recognized types.</p>
</blockquote>

<h4 id='func-utc'><a href='functions.utc.html'>utc</a></h4>

<blockquote>
<p>Absolute UTC time.</p>
</blockquote>
<hr />

      </div>
    </div>
  </div>
</div>

  <script type="text/javascript" src="prettify.js"></script>
  <script type="text/javascript" src="main.js"></script>
</body>

</html>
